package ru.nsu.effel.actions;

import java.util.List;

import net.sourceforge.stripes.action.ActionBean;
import net.sourceforge.stripes.action.ActionBeanContext;
import ru.nsu.effel.persistence.Tariff;
import ru.nsu.effel.persistence.TariffManager;

public class RegisterActionBean implements ActionBean {
	private ActionBeanContext context;
	
	public ActionBeanContext getContext() {
		return context;
	}
		
	public void setContext(ActionBeanContext context) {
		this.context = context;
	}
	
	public List<Tariff> getTariffs() {
		List <Tariff> tariffs = TariffManager.getInstance().getAllTariffs();
		return tariffs;
	}	
}
